<?php
class Enrolledstudent extends AppModel {
	var $name = 'Enrolledstudent';
	var $validate = array(
			'abiturient_id' => array('numeric'),
			'profession_id' => array('numeric'),
			'learningform_id' => array('numeric'),
			'learningtype_id' => array('numeric')
	);
	
	//The Associations below have been created with all possible keys, those that are not needed can be removed
 	var $belongsTo = array(
			'Abiturient' => array(
				'className' => 'Abiturient',
				'foreignKey' => 'abiturient_id',
				'conditions' => '',
				'fields' => '',
				'order' => ''
	));//,
	/*		'Profession' => array(
				'className' => 'Profession',
				'foreignKey' => 'profession_id',
				'conditions' => '',
				'fields' => '',
				'order' => ''
	),
			'Learningform' => array(
				'className' => 'Learningform',
				'foreignKey' => 'learningform_id',
				'conditions' => '',
				'fields' => '',
				'order' => ''
	),
			'Learningtype' => array(
				'className' => 'Learningtype',
				'foreignKey' => 'learningtype_id',
				'conditions' => '',
				'fields' => '',
				'order' => ''
	)
	); */
	
}